import csv
asn2GeoIP = {}
def initASNum2GeoIP():
  with open('ASNum2GeoIP.csv', 'rb') as f:
    csvreader = csv.reader(f)
    for line in csvreader:
      asn2GeoIP[line[0]]={'lat':line[2],'longi':line[1]}
initASNum2GeoIP()
#print asn2GeoIP['15169']['lat']
print asn2GeoIP['15169'].lat
